<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>用人申请</title>
    <%@ include file="/WEB-INF/views/common/common.jsp" %>
    <link rel="stylesheet" href="/static/js/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/static/js/plugins/layui/css/admin.css" media="all">

    <script src="/static/index/plugins/layui/layui.js"></script>
    <script src="/static/index/plugins/jquery-form/jquery.form.min.js"></script>

    <script type="text/javascript" src="/static/js/system/staffneeds.js"></script>
    <style>
        #staffneeds_form td {
            padding: 5px 0px;
        }
    </style>
</head>
<body>

<%--<table id="staffneeds_form"></table>--%>
<div id="loading"></div>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header">用人需求管理</div>
        <div class="layui-card-body" style="height: 750px">
            <%--自己写的管理--%>
            <table id="staffneeds_datagrid"></table>
            <!--左上方工具栏-->/
            <div id="toolbar">
                <div>
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-edit" plain="true"
                       data-cmd="queryItem">录入人才</a>

                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-reload" plain="true"
                       data-cmd="reload">刷新</a>
                </div>
            </div>
        </div>


        <%--<!--模态框-->--%>
        <div id="staffneeds_dialog" >
            <form method="post" id="staffneeds_form" style="align-content: center">
                <td><input class="easyui-textbox" name="recruitDetail.id" id="applicantId" type="hidden"/></td>
                <table align="center" style="margin-top:15px">
                    <tr>
                        <td>应聘人: </td>
                        <td><input class="easyui-textbox" name="name"/></td>
                    </tr>
                    <tr>
                        <td>学历: </td>
                        <td><input type="text" editable="false" class="easyui-combobox" name="education.id"
                                   prompt="学历" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=17',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'
                                       "/>
                        </td>
                    </tr>
                    <tr>
                        <td>性别: </td>
                        <td><input class="easyui-combobox" name="sex.id" prompt="性别" data-options="
                                        url:'/dataDict/selectDataDictByparentId?parentId=6',
                                        valueField: 'id',
                                        editable:false,
                                        textField: 'name',
                                        panelHeight:'auto'"/></td>
                    </tr>
                    <tr>
                        <td>特长: </td>
                        <td><input class="easyui-textbox" name="speciality"/></td>
                    </tr>
                    <tr>
                        <td>经验: </td>
                        <td><input class="easyui-textbox" name="worktime"/></td>
                    </tr>
                    <tr>
                        <td>工作经历: </td>
                        <td><textarea cols="20" rows="3" name="workexperience"></textarea></td>
                    </tr>
                </table>

            </form>
        <%--<!--模态框管理-->--%>
        <div id="form_btns">
            <a id="btn_save" href="javascript:;" class="easyui-linkbutton" iconCls="icon-save" plain="true"
               data-cmd="save">保存</a>
            <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-cancel" plain="true"
               data-cmd="cancel">取消</a>
        </div>
        </div>
    </div>
</div>
</div>
</div>
</body>
</html>